rabih
12 years agoHelper
How do I pull third party data in a custom endpoint?
I'm trying to pull a json data object from a third party api to my custom endpoint with no success. I tried http.client.request("http", "host", "url").json().get() but i got something like this: "lit...
- 12 years ago
Hi rabih,
have you seen the example code in the TKB for using the http client? There is an example using the http.client object to retrieve and process JSON so you should be able to replicate it in your code.
Hope this helps,