This is the string to be encoded: http://purl.obolibrary.org/obo/UBERON0000061 Using…
- User
This is the string to be encoded: http://purl.obolibrary.org/obo/UBERON_0000061
Using
urllib.parse.quotegives: http%3A//purl.obolibrary.org/obo/UBERON_0000061Using
urllib.parse.quote_plusgives: http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FUBERON_0000061Seems the API service wants this: http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FUBERON_0000061
How to get the last one?
Assistant
Double URL Encoding
The issue you're facing is due to double URL encoding. The desired output is the result of URL encoding the string twice.
Step-by-Step Solution
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.