Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
React can not POST

I have using a payment service.And this service posts a token to a react page.But the page showing CAN NOT POST error. enter image description here

Posted url is Callbackurl.The service posts the token correctly.There is no problem here.

And this is my react code of the requested url:

import React from "react";
import { connect } from "react-redux";
import { RootState } from "../../store/reducer";
import { bindActionCreators, Dispatch } from "redux";
import { History } from "history";

interface OwnProps {
  history: History<any>;
}

function mapStateToProps(state: RootState) {
  return {
    language: state.system.language,
    systemUserInfo: state.system.userInfo,
    formData: state.form.formData,
  };
}

function mapDispatchToProps(dispatch: Dispatch) {
  return {
    ...bindActionCreators(
      {
      },
      dispatch
    ),
  };
}

type HomeProps = ReturnType<typeof mapStateToProps> &
  ReturnType<typeof mapDispatchToProps> & OwnProps;

class Pay extends React.Component<HomeProps> {

  render() {
    return (
      <div className="mt-5">
        <div className="container">
          <div className="row">
            <div className="col-md-8 mt-5">
              <div className="row">
                <div className="card">
                  <div className="card-body">Ödeme İşlemi Onaylandı.</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    );
  }
}
export default connect(mapStateToProps, mapDispatchToProps)(Pay);

And this is the error:

enter image description here

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda