Help
RSS
API
Feed
Maltego
Contact
Domain > livefeed.pechinchou.com.br
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2025-10-10
104.26.5.132
(
ClassC
)
2026-01-24
104.26.4.132
(
ClassC
)
Port 443
HTTP/1.1 200 OKDate: Sat, 24 Jan 2026 21:00:49 GMTContent-Type: text/html; charsetutf-8Transfer-Encoding: chunkedConnection: keep-aliveServer: cloudflareX-Content-Type-Options: nosniffX-Powered-By: ExpressCache-Control: public, max-age0Last-Modified: Mon, 06 Oct 2025 19:22:45 GMTReferrer-Policy: strict-origin-when-cross-originAccess-Control-Allow-Origin: *Access-Control-Allow-Credentials: trueAccess-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONSAccess-Control-Allow-Headers: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,X-Api-KeyStrict-Transport-Security: max-age31536000; includeSubDomains; preloadcf-cache-status: DYNAMICvary: accept-encodingReport-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?shr%2BSmcm9JFLNeyT1dJS8HSwO5LBljLgZu8w20ihvBg2eiXbP2TT5QTj%2BSTIYOXhAX2YI7n0nmLsOo01MM%2BkBpclBAiFN8a%2FJMUOEC4Oqir%2FxHIyaB6nh}}Nel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}Permissions-Policy: camera(), microphone(), geolocation()CF-RAY: 9c3276687851fefe-PDX !doctype html>html langpt-BR>head> meta charsetUTF-8 /> meta nameviewport contentwidthdevice-width, initial-scale1.0 /> title>Live Product Feed API - Documentação/title> style> body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; padding: 20px; background-color: #f8f9fa; color: #343a40; } .container { max-width: 900px; margin: auto; background: #ffffff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); } h1, h2, h3 { color: #007bff; border-bottom: 2px solid #e9ecef; padding-bottom: 10px; margin-top: 25px; } h1 { font-size: 2.5em; } h2 { font-size: 2em; } h3 { font-size: 1.5em; } p, ul { margin-bottom: 15px; } code, pre { background-color: #f1f3f5; color: #c0392b; padding: 2px 5px; border-radius: 5px; } pre { padding: 15px; overflow-x: auto; font-family: Courier New, Courier, monospace; line-height: 1.4; border: 1px solid #dee2e6; } .header-code { background-color: #2c3e50; color: #ecf0f1; padding: 15px; border-radius: 8px; margin-top: 10px; } .example-code { background-color: #2c3e50; color: #ecf0f1; padding: 15px; border-radius: 8px; margin-top: 10px; } /style>/head>body> div classcontainer> h1>Live Product Feed API/h1> p> This is a simple API for distributing product data in real-time via WebSocket. /p> h2>Authentication/h2> p> All methods requests to the API require authentication. Include your API key in the code>X-Api-Key/code> header. /p> div classheader-code> p>strong>Example:/strong>/p> pre>code>X-Api-Key: your_secret_key_here/code>/pre> /div> h2>API Endpoints/h2> h3>code>POST /message/code>/h3> p>Sends a new product to all connected WebSocket clients./p> h4>Header:/h4> ul> li>code>Content-Type: application/json/code>/li> li>code>X-Api-Key: your_key/code>/li> /ul> h4>Request Body:/h4> pre>code>{ product: { name: Product Name, id: Product ID, }}/code>/pre> h4>Responses:/h4> ul> li> code>200 OK/code>: pre>code>{status: Product sent successfully.}/code>/pre> /li> li> code>400 Bad Request/code>: pre> code>{error: It is necessary to send the product data.}/code> /pre> /li> li> code>401 Unauthorized/code>: pre> code>{error: API access key is invalid}/code> /pre> /li> li> code>500 Internal Server Error/code>: pre> code>{error: Internal server error while sending the product.}/code> /pre> /li> /ul> h4>Example with cURL:/h4> div classexample-code> pre>code>curl -X POST \ http://localhost:PORT/message \ -H Content-Type: application/json \ -H X-Api-Key: your_key \ -d {product: {name: Laptop, id: 1}}/code>/pre> /div> h3>code>GET /message/code>/h3> p>Retrieves the last product received by the API./p> h4>Header:/h4> ul> li>code>X-Api-Key: your_key/code>/li> /ul> h4>Responses:/h4> ul> li> code>200 OK/code>: Returns the last product object. pre>code>{ id: 12345, name: New Product}/code>/pre> /li> li> code>401 Unauthorized/code>: If the API key is missing or invalid. pre>code>{error: API Key is missing.}/code>/pre> /li> li> code>404 Not Found/code>: If no products have been received yet. pre>code>{error: No products have been received yet.}/code>/pre> /li> /ul> h3>code>GET /clients/code>/h3> p>Retrieves the number of clients connected to the socket./p> h4>Header:/h4> ul> li>code>Content-Type: application/json/code>/li> li>code>X-Api-Key: your_key/code>/li> /ul> h4>Responses:/h4> ul> li> code>200 OK/code>: pre>code>{ clients: 0}/code>/pre> /li> li> code>401 Unauthorized/code>: pre> code>{error: API access key is invalid}/code> /pre> /li> li> code>500 Internal Server Error/code>: pre> code>{error: Internal server error while fetching clients.}/code> /pre> /li> /ul> h4>Example with cURL:/h4> div classexample-code> pre>code>curl -X GET \ http://localhost:PORT/clients \ -H Content-Type: application/json \ -H X-Api-Key: your_key /code>/pre> /div> h2>WebSocket Connection/h2> p> Connect to the WebSocket server to receive real-time product updates. The API key must be passed as a query parameter named code>token/code>. /p> h4>Endpoint:/h4> pre>code>ws://localhost:PORT?tokensua_chave_secreta/code>/pre> h4>Received Data (JSON):/h4> p> The server will broadcast a message with the code>new_product/code> type and the product data in the code>content/code> field. /p> pre>code>{ type: new_product, content: { id: 12345, name: Product Name }}/code>/pre> h4>Example with React:/h4> div classexample-code> pre> code> useEffect(() > { const uuid crypto.randomUUID(); const serverUrl `ws://localhost:9000?token12345&uuid${uuid}`; const ws new WebSocket(serverUrl); ws.onopen () > { console.log(Connected to WebSocket server.); }; ws.onmessage (event) > { console.log(Message received:, event.data); }; }, ); /code> /pre> /div> /div>script>(function(){function c(){var ba.contentDocument||a.contentWindow.document;if(b){var db.createElement(script);d.innerHTMLwindow.__CF$cv$params{r:9c3276687851fefe,t:MTc2OTI4ODQ0OQ};var adocument.createElement(script);a.src/cdn-cgi/challenge-platform/scripts/jsd/main.js;document.getElementsByTagName(head)0.appendChild(a);;b.getElementsByTagName(head)0.appendChild(d)}}if(document.body){var adocument.createElement(iframe);a.height1;a.width1;a.style.positionabsolute;a.style.top0;a.style.left0;a.style.bordernone;a.style.visibilityhidden;document.body.appendChild(a);if(loading!document.readyState)c();else if(window.addEventListener)document.addEventListener(DOMContentLoaded,c);else{var edocument.onreadystatechange||function(){};document.onreadystatechangefunction(b){e(b);loading!document.readyState&&(document.onreadystatechangee,c())}}}})();/script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]