thunder33345 / discordhook Goto Github PK
View Code? Open in Web Editor NEWPHP Discord WebHook Library(outdated, incomplete)
PHP Discord WebHook Library(outdated, incomplete)
I cant send webhooks from my website and echo this return statement
-----Local Host------
Array ( [sent] => Array ( [array] => Array ( [username] => Recent Claim Sent Anouncer [content] => hello ) [json] => {"username":"Recent Claim Sent Anouncer","content":"hello"} ) [http_code] => 204 [headers] => Array ( [http_code] => HTTP/2 204 [date] => Tue, 25 Aug 2020 13:51:02 GMT [set_cookie] => __cfduid=d6c1fe260b1a41254df2b29e129b9cf621598363462; expires=Thu, 24-Sep-20 13:51:02 GMT; path=/; domain=.discordapp.com; HttpOnly; SameSite=Lax [strict_transport_security] => max-age=31536000; includeSubDomains [x_ratelimit_bucket] => 3cd1f278bd0ecaf11e0d2391374c011d [x_ratelimit_limit] => 5 [x_ratelimit_remaining] => 4 [x_ratelimit_reset] => 1598363465 [x_ratelimit_reset_after] => 2 [x_envoy_upstream_service_time] => 35 [via] => 1.1 google [cf_cache_status] => DYNAMIC [cf_request_id] => 04c77c04570000124cc5092200000001 [expect_ct] => max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" [server] => cloudflare [cf_ray] => 5c85c91a2d33124c-HKG ) [json] => [raw] => )
-----Website------
Array ( [sent] => Array ( [array] => Array ( [username] => Recent Claim Sent Anouncer [content] => New claim has been sent! ADDRESS:0x61c0fa8ef4c27357564de51747841851be8c4c55 BLOCKCHAIN SCANNER LINK: AMOUNT:0.0005 CoroEx Coin.Please check block chain Scanner link to confirm the transaction! ) [json] => {"username":"Recent Claim Sent Anouncer","content":"New claim has been sent! ADDRESS:0x61c0fa8ef4c27357564de51747841851be8c4c55\n BLOCKCHAIN SCANNER LINK: \n AMOUNT:0.0005 CoroEx Coin.Please check block chain Scanner link to confirm the transaction!"} ) [http_code] => [headers] => Array ( [http_code] => ) [json] => [raw] => )
unlike in local host it appears that the website is not sending anything.Can you help out fixing?
thanks
I cant send webhooks from my website and echo this return statement
-----Local Host------
Array ( [sent] => Array ( [array] => Array ( [username] => Recent Claim Sent Anouncer [content] => hello ) [json] => {"username":"Recent Claim Sent Anouncer","content":"hello"} ) [http_code] => 204 [headers] => Array ( [http_code] => HTTP/2 204 [date] => Tue, 25 Aug 2020 13:51:02 GMT [set_cookie] => __cfduid=d6c1fe260b1a41254df2b29e129b9cf621598363462; expires=Thu, 24-Sep-20 13:51:02 GMT; path=/; domain=.discordapp.com; HttpOnly; SameSite=Lax [strict_transport_security] => max-age=31536000; includeSubDomains [x_ratelimit_bucket] => 3cd1f278bd0ecaf11e0d2391374c011d [x_ratelimit_limit] => 5 [x_ratelimit_remaining] => 4 [x_ratelimit_reset] => 1598363465 [x_ratelimit_reset_after] => 2 [x_envoy_upstream_service_time] => 35 [via] => 1.1 google [cf_cache_status] => DYNAMIC [cf_request_id] => 04c77c04570000124cc5092200000001 [expect_ct] => max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" [server] => cloudflare [cf_ray] => 5c85c91a2d33124c-HKG ) [json] => [raw] => )
-----Website------
Array ( [sent] => Array ( [array] => Array ( [username] => Recent Claim Sent Anouncer [content] => New claim has been sent! ADDRESS:0x61c0fa8ef4c27357564de51747841851be8c4c55 BLOCKCHAIN SCANNER LINK: AMOUNT:0.0005 CoroEx Coin.Please check block chain Scanner link to confirm the transaction! ) [json] => {"username":"Recent Claim Sent Anouncer","content":"New claim has been sent! ADDRESS:0x61c0fa8ef4c27357564de51747841851be8c4c55\n BLOCKCHAIN SCANNER LINK: \n AMOUNT:0.0005 CoroEx Coin.Please check block chain Scanner link to confirm the transaction!"} ) [http_code] => [headers] => Array ( [http_code] => ) [json] => [raw] => )
unlike in local host it appears that the website is not sending anything.Can you help out fixing?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.