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

  • SEARCH
  • Home
  • 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 7598355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:23:15+00:00 2026-05-30T22:23:15+00:00

Through my testing, it seems that servicestack is automatically URL decoding any parameters sent

  • 0

Through my testing, it seems that servicestack is automatically URL decoding any parameters sent through the query string of a GET request, but does not automatically decode params sent via a POST request.

Is there anyway that I can check the HTTP method and decode through my code for POST requests?

EDIT

My methods are derived from a class which implements the RestServiceBase class from Servicestack.net.

Is there any way to check the HTTP method from the current request via RestServiceBase?

  • 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-05-30T22:23:16+00:00Added an answer on May 30, 2026 at 10:23 pm

    What is the wire format? i.e. is it application/json or application/x-www-form-urlencoded ? because only application/x-www-form-urlencoded Content-Type’s should be encoded.

    Now if your POST’ing with a C# ServiceClient then we don’t support POST’ing application/x-www-form-urlencoded and it’s likely that JSON or XML, etc (depends on the ServiceClient) is being posted instead which doesn’t require Url Encoding.

    If you’re POST’ing from jQuery then it should automatically be doing the url encoding for you.

    Either way, can you post the HTTP Request payload so we can see what’s going on.

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

Sidebar

Related Questions

Through profiling I've discovered that the sprintf here takes a long time. Is there
Through a bit of digging, I've discovered how to set and get the volume
What are the current rules for writing python code that will pass cleanly through
I'm currently building an order form but it seems that the method I am
We have a background operation (Window service) that we want to use through a
I'm using Resharper 4.5 with Visual Studio 2008 and MBUnit testing, and there seems
Are there any programming methodologies that take into account the concept that the first
We wish to use the Binary Formatter. In debugging, thus far, it seems that
I im creating a simple testing app that runs a check every hour on
Often times in unit tests I see people testing very simple things that realistically

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.