Questions tagged [payload]

The part of the packet, message or code that carries the data. In information security, the term payload generally refers to the part of malicious code that performs the destructive operation.

(1) Refers to the actual data in a packet or file minus all headers attached for transport and minus all descriptive meta-data. In a network packet, headers are appended to the payload for transport and then discarded at their destination. In a key-length-value structure, the key and length are descriptive data about the value (the payload).

(2) In the analysis of malicious software such as worms, viruses and Trojans, it refers to the software's harmful results. Examples of payloads include data destruction, messages with insulting text or spurious e-mail messages sent to a large number of people.

861 questions
189
votes
11 answers

Creating .pem file for APNS?

How do I create a .pem file to be stored in the hosting server for APN payload data?
Biranchi
  • 16,120
  • 23
  • 124
  • 161
76
votes
4 answers

Need an example about RecyclerView.Adapter.notifyItemChanged(int position, Object payload)

According to RecyclerView documentation about medthod notifyItemChanged(int position, Object payload) Notify any registered observers that the item at position has changed with an optional payload object. I don't understand how to use second…
71
votes
3 answers

Payloads of HTTP Request Methods

The Wikipedia entry on HTTP lists the following HTTP request methods: HEAD: Asks for the response identical to the one that would correspond to a GET request, but without the response body. GET: Requests a representation of the specified…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
37
votes
3 answers

How should I pass json data in the request payload of http post request

I wanted to know, how to pass the json request in the payload, for eg: {'name' : 'test', 'value' : 'test'}: var post_data = {}; var post_options = { host: this._host, path: path, method: 'POST', headers: { Cookie: "session=" + session, …
Prats
  • 1,745
  • 4
  • 24
  • 28
36
votes
6 answers

What is the difference between a request payload and request body?

I am learning HTTP. I enclose a request payload in XML or JSON format in my POST requests. What I wanted to know is whether a request payload and request body mean the same thing?
Ankur Garg
  • 2,553
  • 8
  • 30
  • 41
33
votes
2 answers

Request payload limit with AWS API Gateway

What is the request-payload limit with AWS API-Gateway? I need to send a JSON payload with base64 encoded files and some other parameters to API Gateway, that will then pass on the payload to AWS Lambda. I could not find AWS documentation…
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
30
votes
1 answer

How to POST data on payload instead of formdata

I'm trying to make a request to an Alfresco service from a web-script I made, passing some json data on the payload. This is the Alfresco service: http://localhost:8080/share/proxy/alfresco/api/internal/downloads And I need to pass a json array…
Enrico
  • 303
  • 1
  • 3
  • 5
22
votes
2 answers

what is overhead, payload, and header

Can someone please explain me what is overhead, payload, header and packet. As far as I know a packet is the whole data that is to be transmitted. This packet consists of the actual data which I think is the payload and the source/destination…
Priti16
  • 321
  • 1
  • 2
  • 3
20
votes
2 answers

Payload bundle identifier mismatch with Xcode at validation step

I got ios app project from someone (say zzz), which has been uploaded to Apple App Store, but removed from the store later somehow (not quite sure why). I now need work on this project. First, I created an app named 'yyyyy with me' in…
Tony Xu
  • 3,031
  • 4
  • 32
  • 43
19
votes
2 answers

Android in-app billing: what is the "developer payload" and how the "Buy" button works?

I am playing with the Google in-app billing example app "Dungeons". In this app, I can either click on the "Buy" button to buy something or on the "Edit Payload" button to...edit the payload :). But I don't understand what does this button and what…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
12
votes
5 answers

NodeJS Router payload too large

I'm creating rest endpoints in my nodejs application as follows: In my server.js I have the following code: var express = require('express'); var app = express(); app.use(express.json({ limit: '50mb' })); app.use(express.urlencoded({ limit: '50mb',…
Stephan Celis
  • 2,492
  • 5
  • 23
  • 38
12
votes
2 answers

IIS 8 block request by JSON payload fields

I have an MVC.NET 4 web server that accepts HTTP POST request with a JSON formatted string as the request data. I would like to add a rule in the IIS level before the request hits the server, to block request by some regex on that JSON string. Is…
Orr
  • 4,740
  • 3
  • 28
  • 31
10
votes
1 answer

HttpURLConnection: how to read payload of 400 response

I use the following code to send a JSON request to my web service, and, for a bad request I return a 400 message code along with a detailed JSON error response in the payload. I do not understand how I could possibly retrieve this payload on the…
user1578796
  • 157
  • 1
  • 1
  • 12
9
votes
3 answers

Azure push notification hub - how to handle payload formats for both iOS and Android?

I am trying to support both iOS and Android platforms through the Azure Notification Hub. The iOS platform expects the payload in the form: {"aps":{"alert":"Notification Hub test notification"}} while the Android platform expects the payload in…
user1282345
  • 251
  • 3
  • 6
8
votes
4 answers

Email body is a string sometimes and a list sometimes. Why?

My application is written in python. What I am doing is I am running a script on each email received by postfix and do something with the email content. Procmail is responsible for running the script taking the email as input. The problem started…
Nanda Kishore
  • 2,789
  • 5
  • 38
  • 61
1
2 3
57 58