erictik / midjourney-api

MidJourney client. Unofficial Node.js client
Apache License 2.0
1.71k stars 287 forks source link

Question: discord api request, user bot #107

Open sequencerr opened 1 year ago

sequencerr commented 1 year ago

can discord api be suspicious when sending api request with parameters in order different from sending it from discord interface? can it be suspicious about sending nonce other type from Snowflake-id?

sequencerr commented 1 year ago

it also sends multipart/form-data instead of application/json for "create command" interaction

zcpua commented 1 year ago

there should be no problem. usually the backend use both form-data and json

sequencerr commented 1 year ago

there should be no problem. usually the backend use both form-data and json

yes, but request sent from discord interface (client) is in type of form-data (in my case)