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 8660739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:19:53+00:00 2026-06-12T16:19:53+00:00

I have an Agent which should accept Post parameters, sent from An App in

  • 0

I have an Agent which should accept Post parameters, sent from An App in Titanium,

In the App i send a httprequest, e.g:

var params = {
"Param1":"Test",
"Param2":"Sth"
}
var http = Ti.Network.createHTTPClient()
  http.open("POST","server/db.nsf/agent?OpenAgent",true);
  http.setRequestHeader('Authorization', 'Basic ' + Ti.Utils.base64encode(username + ':' + password));

  http.send(params)
    http.onreadystatechange = function () {
      var response = http.responseData
          callback(response)
    }

And in the Agent i have the following Code:

Dim session As NotesSession
Dim doc As NotesDocument

Set doc = session.DocumentContext

Print (doc.Query_String(0))
Print (doc.Query_String_Decoded(0))

I also added 2 hidden, computed forms Query_String and Query_String_Decoded with its name as value
Just to make sure.

And tried `@UrlQueryString“

But the responseData is only the
OpenAgent
parameter from the Url

Could anyone help me to find the right way to get the Post Data, sent from the httprequest

Thanks for your help in Advance

  • 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-12T16:19:54+00:00Added an answer on June 12, 2026 at 4:19 pm

    You need to use the Request_Content CGI variable and not Query_string.


    You could also use XPages and create an XAgent instead. Values posted to XPages can be read using param.get(). I have written a blog post about a HTTP request consumer in XPages that you can use as inspiration.

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

Sidebar

Related Questions

I have a method in my model which should detect the User Agent. How
I have written a quite simple javascript method, which should send an ajax request
I have a User model in my app, which I would like to store
I have in my database a coloumn say agent which can have enum values
I have a table which has multiple records of the same sales agent id
We have simple project which takes a number of messages from a number of
So I'm working on SQL Server 2008 and I have this query which should
I have the following in my project's pom.xml which I think should display the
I have a Build Agent that was only dealing in .Net 4.0 RC stuff,
Basically I am attempting to have an AI agent navigate a world based on

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.