# URL Encoding In Robot Framework

**URL:** <https://forum.robotframework.org/t/url-encoding-in-robot-framework/6411>\
**Category:** Robot Framework\
**Created:** [30 October 2023 12:36 UTC](https://forum.robotframework.org/t/url-encoding-in-robot-framework/6411 "2023-10-30T12:36:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![digvijat](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@digvijat](https://forum.robotframework.org/u/digvijat)\
**Post date:** [30 October 2023 12:36 UTC](https://forum.robotframework.org/t/url-encoding-in-robot-framework/6411/1 "2023-10-30T12:36:58Z")

</div>

How can we do URL Encoding in Robot Framework…as this feature is given inbuild in Postman.

So API Working with Postman but not with Robot Framework

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [30 October 2023 15:38 UTC](https://forum.robotframework.org/t/url-encoding-in-robot-framework/6411/2 "2023-10-30T15:38:33Z")

</div>

You can use Python functions directly, in string variables or with `Evaluate`.  
Don’t have an example here at the moment, but you may experiment on your own ;).

---

<div class="post-metadata">

**Author:** ![robinmackaij](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/robinmackaij/32/126_2.png) [@robinmackaij](https://forum.robotframework.org/u/robinmackaij)\
**Post date:** [5 November 2023 12:37 UTC](https://forum.robotframework.org/t/url-encoding-in-robot-framework/6411/3 "2023-11-05T12:37:37Z")

</div>

All the libraries that deal with API testing in Robot Framework rely on the Python `requests` package. `requests` handles the URL encoding automatically.

What exactly are you trying to do and what error are you getting?
