epguides-api

חינם
על ידי frecar | מְעוּדכָּן 4 दिन पहले | Entertainment
פּוֹפּוּלָרִיוּת

8.1 / 10

חֶבִיוֹן

6,385ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Bad Gateway

Rapid account: Fkobler
fkobler
7 वर्ष पहले

Hi,
First of all, thanks for the API.
When trying to access it via php, using both stream_context_create, and cURL, I receive a 502 Bad Gateway response.
Am I doing something wrong?
Best regards!

Rapid account: Tavdog
tavdog Commented 4 वर्ष पहले
Rapid account: Frecar
frecar Commented 7 वर्ष पहले

Great, I have updated the Mashape endpoint as well now, so both should work.

Rapid account: Fkobler
fkobler Commented 7 वर्ष पहले

Yes, thanks alot! That seems to work.
Then it is just the Mashape Documentation that is not quite correct.

Again, thanks for the effort, it is greatly appreciated!

Rapid account: Frecar
frecar Commented 7 वर्ष पहले

Can you try to access the API directly, using this as the URL: http://epguides.frecar.no/show/bigbangtheory/

Rapid account: Fkobler
fkobler Commented 7 वर्ष पहले

Hi, thanks for the reply.
I get the “Bad Gateway” issue with any URL I use, for example the documentation URL: https://frecar-epguides-api-v1.p.mashape.com/bigbangtheory/
Using the UniRest PHP Library as explained in the documentation.

Maybe the implementation documentation is not up to date?

Rapid account: Frecar
frecar Commented 7 वर्ष पहले

Hi, this should be working - can you provide example URLs for where you see this behavior?

Rapid account: Karnex
karnex Commented 7 वर्ष पहले

Hi All,

Would someone have any news regarding that error ?

Many thanks

Rapid account: Fkobler
fkobler Commented 7 वर्ष पहले

Hi @frecar,
Do you have any news on the issue?
Best regards!

Rapid account: Fkobler
fkobler Commented 7 वर्ष पहले

Hi @frecar,
Thanks for looking into it.
However I am still receiving a 502 error. Also using the recommended Unirest for php library.
Attached the full var_dump of the response:

object(Unirest\Response)#1 (4) { [“code”]=> int(502) [“raw_body”]=> string(179) “
502 Bad Gateway
openresty/1.11.2.3
” [“body”]=> string(179) “
502 Bad Gateway
openresty/1.11.2.3
” [“headers”]=> array(6) { [0]=> string(24) “HTTP/1.1 502 Bad Gateway” [“Content-Type”]=> string(9) “text/html” [“Date”]=> string(29) “Fri, 26 May 2017 11:58:34 GMT” [“Server”]=> string(13) “Mashape/5.0.6” [“Content-Length”]=> string(3) “179” [“Connection”]=> string(10) “keep-alive” } }

Best regards!

Rapid account: Frecar
frecar Commented 7 वर्ष पहले

Hi @fbkobler, thanks for reaching out. This should now be solved.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות