Comments (3)
Bir de response zaten JSON formatında. to_json
onu yeniden JSON olarak formatlamak anlamına geliyor. Faraday'ın imkanlarına bakmak lazım ama JSON parse generic olarak şöyle:
require 'json'
JSON.parse(json_data)
from xokul.
@msdundar bu daha çok client bağlamında bir sorun gibi görünüyor. Response:
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Server: nginx
Date: Fri, 28 Sep 2018 18:39:34 GMT
Vary: Accept-Encoding
ETag: W/"5903774ad458de37306812b18dbbf584"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7c97825c-759f-4f14-bb86-96f6cc150353
X-Runtime: 1.897954
X-Kong-Upstream-Latency: 1901
X-Kong-Proxy-Latency: 0
Via: kong/0.14.1
Ayrıca diğer istemcilerle sorun yaşamıyorum. Faraday default adaptörü net/http
. Yine de soruna bu eksende bir bakacağım.
from xokul.
@msdundar bunun client-side bir sorun olduğuna eminiz. diğer dillerle ve GitHub API ile test ettiğimde de encoding "ASCII-8BIT" dönüyor. bu yüzden iş kaydını kapatıyorum
from xokul.
Related Issues (20)
- Aday öğrenci bilgileri YÖKSİS'ten alınabilmeli
- YÖKSİS'ten öğrenci resimleri alınabilmeli
- Dönem Türleri endpoint'i eklenmeli
- Dependabot couldn't find a package.json for this project
- NoMethodError: undefined method `map' for nil:NilClass
- OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (ok)
- OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (ok)
- Net::ReadTimeout: Net::ReadTimeout with #<TCPSocket:(closed)>
- Net::ReadTimeout: Net::ReadTimeout with #<TCPSocket:(closed)>
- Net::OpenTimeout: execution expired
- Errno::ECONNREFUSED: Failed to open TCP connection to tckimlik.nvi.gov.tr:443 (Connection refused - connect(2) for "tckimlik.nvi.gov.tr" port 443)
- SocketError: Failed to open TCP connection to meksis.gov.tr:443 (getaddrinfo: No address associated with hostname)
- Net::OpenTimeout: execution expired
- Net::OpenTimeout: execution expired
- Net::OpenTimeout: execution expired
- Net::OpenTimeout: execution expired
- Codacy Badge and Beta Image Doesn't Seem Working.
- HTTPI::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3/TLS write client hello
- Net::OpenTimeout: Net::OpenTimeout
- Net::OpenTimeout: Net::OpenTimeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xokul.