Junos Space Developer
Highlighted
Junos Space Developer

Not Responding API Call

‎09-17-2015 12:25 AM

Hi experts,

 

I have a problem working with Junos Space API.
Everytime I make an API call result in no response from Junos Space server (could not get any response.png)

Since I can accesse Junos Space Web GUI and use super-administrator user in basic authentication header,
I don't have any idea what is wrong.(basic auth header.png and admin user role.png)

 

To access Junos Space Web GUI, I use VPN connection to cisco device. The cisco device can reach Junos Space server.
I use cisco VPNClient to perform VPN connection.

I use Junos Space 14.1R2.9.

 

Please help me out.


Thanks in advance,


Martin (post this in place of Handi)

Attachments

1 REPLY 1
Highlighted
Junos Space Developer

Re: Not Responding API Call

‎09-30-2015 10:06 PM
Hi all,

I just realized that one of the cause of not responding API call because of an additional space character at the beginning of the URL.

I use postman 3.0 to call the API, and I found out that when I don't clear header value containing user and pass to access API, I will find the API not responding to my call. The workaround is to clear and re-entry authentication header, everytime I made an API call.

So the problem is solved.

Silly mistake of me. Hahaha.


Regards,

Martin (post this in place of Handi)
Feedback