cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Get HTTP error code

sloison
3-Visitor

Get HTTP error code

Hi,

Is there way to get HTTP return code after calling an external API with for instance Resources["ContentLoaderFunctions"].GetJSON(params) ?

Regards

Stéphane

2 REPLIES 2
CRArko
17-Peridot
(To:sloison)

Hello, Stephane.

Are you talking about using the RESTful API in the manner described in this article? I don't see any place where that directly returns the HTTP error code.

Let me know if this is like your use case, or if you mean something different.

-- Craig A.

sloison
3-Visitor
(To:CRArko)

Hi Craig,

It is exactly the point.

The call return a 4XX http error code and I do see any way to get it.

Regards

Stéphane

Top Tags