Some Questions About HTTP Service

So Hi Developers!
So Everytime i make Gamepasses i am uploading the image for gamepass and same image as decal for gamepass shop UI and it takes alot time is there any way to learn HTTP service.

2 Likes

There isn’t much you need to learn.
It has 4 mainly used functions. (PostAsync() JSONEncode() JSONDecode() RequestAsync())
Nothing hard.
What you want to learn is API’s for what you work with.

Oh i forgot to Ask What is JSONDEcode i dont understand it

Decodes a string into a Lua Table

Ok Thank s for This Can i ask Another Question if yes how i can get the image of gamepass with http service for gamepass Shop

Image of the gamepass icon that is shown on the Roblox Website?

Yes is there any way to do it or its impossible.

No.
You can’t.
Publish images, and that will work.
You can’t because otherwise, exploiters could use HTTPS to post NSFW images

You will have to use a proxy

GET https://api.rpxyz.xyz/marketplace/productinfo?assetId=ASSETIDHERE 
# returns a json object like this:or use https://api.rpxyz.xyz/marketplace/game-pass-product-info?gamePassId=GAMEPASSID

{
    "TargetId": 123456789,
    "ProductType": "User Product",
    "AssetId": 123456789,
    "ProductId": 24870409,
    "Name": "Hat",
    "Description": "",
    "AssetTypeId": 8,
    "Creator": {
        "Id": 1,
        "Name": "ROBLOX"
    },
    "IconImageAssetId": 0,
    "Created": "2015-06-25T20:07:49.147Z",
   "Updated": "2015-07-11T20:07:51.863Z",
    "PriceInRobux": 350,
    "PriceInTickets": null,
    "Sales": 0,
    "IsNew": true,
    "IsForSale": true,
    "IsPublicDomain": false,
    "IsLimited": false,
    "IsLimitedUnique": false,
    "Remaining": null,
    "MinimumMembershipLevel": 0
}

https://api.roblox.com/docs#Marketplace

2 Likes

This isn’t right, because 1: you need a cookie header, 2 you need an auth header and 3 it goes through moderation

POST http://endpoint.com/somethinh http/1.0
Authorization: STRING
Cookie: .RBXID or .RBXSECURITY cookie
2 Likes