# An url works in POSTMAN but not while making HTTP request in PLSQL

**URL:** <https://community.postman.com/t/an-url-works-in-postman-but-not-while-making-http-request-in-plsql/801>\
**Category:** Help Hub\
**Tags:** plsql, get, username, http, password\
**Created:** [January 28, 2018, 2:49pm UTC](https://community.postman.com/t/an-url-works-in-postman-but-not-while-making-http-request-in-plsql/801 "2018-01-28T14:49:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KJ00543630](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KJ00543630](https://community.postman.com/u/KJ00543630)\
**Post date:** [January 28, 2018, 2:49pm UTC](https://community.postman.com/t/an-url-works-in-postman-but-not-while-making-http-request-in-plsql/801/1 "2018-01-28T14:49:50Z")

</div>

I want to use a REST url to pull data from BigFix.  
The url works when pasted directly in browser and it works in postman. But not when making HTTP request in PLSQL. Is there a way to figure out the additional parameters required in PLSQL to make it work?

My url is as below with HOSTNAME, USERNAME, PASSWORD being replaced by the real ones.

[https://HOSTNAME/webreports?page=EvaluateRelevanceOnly&expr=unique](https://HOSTNAME/webreports?page=EvaluateRelevanceOnly&expr=unique) values of (name of it) of bes computers whose (exists name of it AND last report time of it \> (now - 1\*day))&Username=USERNAME&Password=PASSWORD

This url works fine in the browser and returns results i.e. names of computers reported in the last one day. However, when I use the same from Oracle SQL Developer to get the list- The output HTML coding has below line among otherstuff:

Please enter your username and password to connect to Web Reports.  
etc. etc. etc.

My question is: Can I use postman to figure out what I might be missing in my PLSQL HTTP request e.g. some additional parameteres that I may need to pass etc.

I would appreciate any help! Thanks.

---

<div class="post-metadata">

**Author:** ![dhoyt](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/dhoyt/32/238_2.png) [@dhoyt](https://community.postman.com/u/dhoyt)\
**Post date:** [January 29, 2018, 2:37pm UTC](https://community.postman.com/t/an-url-works-in-postman-but-not-while-making-http-request-in-plsql/801/2 "2018-01-29T14:37:27Z")

</div>

@KJ00543630

Try changing your &s to %26

```auto
https://HOSTNAME/webreports?page=EvaluateRelevanceOnly%26expr=unique values of (name of it) of bes computers whose (exists name of it AND last report time of it > (now - 1*day))%26Username=USERNAME%26Password=PASSWORD

```

---

<div class="post-metadata">

**Author:** ![KJ00543630](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KJ00543630](https://community.postman.com/u/KJ00543630)\
**Post date:** [January 30, 2018, 9:37am UTC](https://community.postman.com/t/an-url-works-in-postman-but-not-while-making-http-request-in-plsql/801/3 "2018-01-30T09:37:47Z")

</div>

Thanks a million Dhyot!  
Percent encoding was the key.  
However, instead of just changing & to%26, I just copied the encoded url from browser and used it.  
It works now 🙂
