Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7946649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:12:52+00:00 2026-06-04T01:12:52+00:00

I have to call a third party webservice that expects and only accepts illegal

  • 0

I have to call a third party webservice that expects and only accepts illegal characters (according to the RFC) in it’s param string, like the below.

http://example.com?param1={foo=bar}

In this example the braces are the illegal characters, and should be encoded, however this webservice will not accept the parameters if these characters have been encoded.

NSURL correctly doesn’t allow me to create a NSURL object with the URLWithString method, return nil using a string like the example.

The webservice is provided by a large corporate entity, so changing it would require submitting a bug report to them, which may or may not be actioned soon, if at all, especially considering that the API works as is.

My question is what are some possible solutions to this problem, that i can implement, without changing the Webservice.

Current ideas (downsides)
Using CFStream to craft custom HTTP requests (Horrifically large amount of work)
Using a webbased proxy that could send the request on my application’s behalf (Additional external dependency)

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:12:53+00:00Added an answer on June 4, 2026 at 1:12 am

    What you are trying to do is impossible. You need to URL-encode these characters and the server will then automatically decode them.

    If you could somehow hack NSURL there would be still many parts of the whole process that would choke on a malformed URL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to call a third-party Web service that frequently does not respond. I
session.identify is a third party COM API that I call and have no access
I have a third party application that allows you to call C functions from
I have some code that makes a call to a third party web service
I have a call to a third-party C++ library which I have put into
We have a Java client which is using corba to call several third party
I have a java web app that makes back-end use of a third-party web
We have a third-party DLL that can operate on a DataTable of source information
I have a Hudson job that just does a check-out/update to a third-party library.
We have a project that includes all of our re-usable classes, third-party library JARs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.